//Component Object
Component({
  properties: {
    top:{
      type: String,
      value: '50%'
    },
    left:{
      type: String,
      value: '50%'
    },
    actionList:{
      type:Array,
      value:[],
      observer: function(){}
    },

  },
  data: {

  },

  attached: function(){
    // console.log('actionList:',this.data.actionList)
  },
  methods: {
    actionTap(event:any){
      let id = event.currentTarget.dataset.id
      this.triggerEvent('actionTap',id)
    }
  },
  
});